const getters = {
  sidebar: state => state.app.sidebar,
  language: state => state.app.language,
  size: state => state.app.size,
  device: state => state.app.device,

  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,

  token: state => state.user.token,
  refToken: state => state.user.refToken,
  avatar: state => state.user.avatar,
  uId: state => state.user.uId,
  name: state => state.user.nickName,
  defPageSize: state => state.user.defPageSize, // 默认每页记录数
  introduction: state => state.user.introduction, // 介绍
  authInfo: state => state.user.authInfo, // 授权的模块和权限
  currPlatformId: state => state.user.platformId, // 授权的模块和权限

  permission_routes: state => state.permission.routes,
  errorLogs: state => state.errorLog.logs
}
export default getters
